package com.xpqh.ksg.config;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

/**
 * MybatisPlus配置
 *
 * @author lizhihui
 * @date 2025.03.21
 */
@Configuration
@MapperScan(basePackages = {"com.xpqh.ksg.common.persistence.dao"})
@Slf4j
public class MybatisPlusConfig {
	static{
		log.info("-------------------------------------------------------");
		log.info("MybatisPlus initialization is successfully");
		log.info("扫描 com.xpqh.ksg.*.dao");
		log.info("扫描 com.xpqh.ksg.common.persistence.dao");
		log.info("-------------------------------------------------------");
	}
}
